package com.ysy.tz.core.utils;

import java.util.HashMap;

public class SessionUtils {
    public static String CURRENT_USER = "currentUser";
    public static String FLIGHTS = "flights";
    public static String WORK_DAY = "workDay";
    public static String LOGIN_DAY = "loginDay";
    private static HashMap<String, Object> attributes = new HashMap();

    public SessionUtils() {
    }

    public static Object getAttribute(String key) {
        return attributes.get(key);
    }

    public static void setAttributes(String key, Object obj) {
        attributes.put(key, obj);
    }
}
